text/template/parse.Tree.newVariable (method)
5 uses
text/template/parse (current package)
node.go#L396: func (t *Tree) newVariable(pos Pos, ident string) *VariableNode {
parse.go#L459: pipe.Decl = append(pipe.Decl, t.newVariable(v.pos, v.val))
parse.go#L463: pipe.Decl = append(pipe.Decl, t.newVariable(v.pos, v.val))
parse.go#L710: node = t.newVariable(chain.Position(), chain.String())
parse.go#L787: v := t.newVariable(pos, name)
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)